/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: OverloadDemo01
 * Author:   666
 * Date:     2022/1/10 18:29
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.day02.overload;

/**
 * @Classname OverloadDemo01
 * @Description TODO
 * @Date 2022/1/10 18:29
 * @Created by 666
 */
public class OverloadDemo01 {

//
//    public  static  void fire(){
//        System.out.println("无参");
//    }
//    public  static  String fire(){
//        return "返回参数变化";
//    }
    //以下两个参数类型顺序不同
    public String fire(int a,String s){
        System.out.println("test3");
        return "returntest3";
    }

    public String fire(String s,int a){
        System.out.println("test4");
        return "returntest4";
    }
}
